Skip to content

GH Actions/linting: lint XML files#279

Merged
jrfnl merged 1 commit into
mainfrom
feature/ghactions-add-xmllint
Jun 20, 2026
Merged

GH Actions/linting: lint XML files#279
jrfnl merged 1 commit into
mainfrom
feature/ghactions-add-xmllint

Conversation

@jrfnl

@jrfnl jrfnl commented Mar 7, 2026

Copy link
Copy Markdown
Member

Proposed Changes

The phpcsstandards/xmllint-validate action runner can validate XML files for both well-formedness, as well as validating the XML against an XSD schema.

This commit adds a new lint job to the linting workflow to take advantage of that to validate:

  • Dev tool config files against their applicable XSD files.
  • PHPCS rulesets used in the tests against the PHPCS XSD ruleset.

Ref: https://github.com/marketplace/actions/xmllint-validate

Suggested changelog entry

N/A

The `phpcsstandards/xmllint-validate` action runner can validate XML files for both well-formedness, as well as validating the XML against an XSD schema.

This commit adds a new lint job to the `linting` workflow to take advantage of that to validate:
* Dev tool config files against their applicable XSD files.
* PHPCS rulesets used in the tests against the PHPCS XSD ruleset.

Ref: https://github.com/marketplace/actions/xmllint-validate
@jrfnl jrfnl added this to the 1.3.0 milestone Mar 7, 2026
@jrfnl jrfnl requested a review from Potherca March 7, 2026 05:03
@jrfnl jrfnl merged commit 93116c8 into main Jun 20, 2026
232 of 262 checks passed
@jrfnl jrfnl deleted the feature/ghactions-add-xmllint branch June 20, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants